﻿@using CommandLib
@using Resources
@model FindArtInfo.Models.PageSignaturesModel
@{
    ViewBag.Title = HttpUtility.HtmlDecode(Model.Artist.FullName) + " Signaturs and monograms";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@{
    string title = HttpUtility.HtmlDecode(Model.Artist.FullName) + " (" + ((Model.Artist.Born == 0 ? "" : Model.Artist.Born.ToString()) + "-" + (Model.Artist.Died == 0 ? "" : Model.Artist.Died.ToString())) +") " + Model.ListSignatures.Count;
}
<h1 class="underline">@string.Format(Multi.PageSignaturesTitle, title)</h1>
<p align="right">        
    <a href="~/@Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))/list-prices-by-artist/@Model.Artist.ArtistId/@(Utils.UnicodeToKoDauAndGach(Model.Artist.FullName)).html" title="@string.Format(Multi.PageSignaturesSeeAuction, HttpUtility.HtmlDecode(Model.Artist.FullName))">@Multi.PageSignaturesAuctionResults</a>
    &nbsp; |&nbsp; 
    @Html.ActionLink(Multi.PageSignaturesBack, null, null, new { @href = "javascript:window.history.back()"})
    &nbsp; |&nbsp;     
    <a href="~/@Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))/advanced-search.html" title="@string.Format(Multi.PageSignaturesSeeAuction, HttpUtility.HtmlDecode(Model.Artist.FullName))">@Multi.PageSignaturesNewSearch</a>
</p>
<table border="0" width="100%" id="table6" cellspacing="0" cellpadding="0">
<tr> 
    <td align="left" valign="top"> 
    @foreach(var item in Model.ListSignatures)
    {
        string urlImage = Utils.GetUrlImage(item.Signature);
        <img border='0' src='@urlImage' alt="findartinfo.com"/>
		<hr size="1">       
    }	    							
    </td>
</tr>
<tr> 
    <td align="left" valign="top">&nbsp;</td>
</tr>
                            
</table>